package net.dgg.zz.credential.baseCredential.service;

import net.dgg.zz.credential.baseCredential.dao.CredentialInfoDao;
import net.dgg.zz.credential.baseCredential.entity.CredentialInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CredentialInfoService {
    @Autowired
    private CredentialInfoDao credentialInfoDao;

    public CredentialInfo getCredentialInfoById(Long id){
        return credentialInfoDao.selectByPrimaryKey(id);
    }
}
